package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.Quality;
import com.yunfeng.common.util.Page;

public interface QualityService {
	Quality get(Long id);

	void saveOrUpdate(Quality quality);

	void delete(Long id);

	List<Quality> findAll();

	List<Quality> findAll(Page page);

	List<Quality> findByLiaohao(Page page, String liaohao);

	List<Quality> findByExample(Specification<Quality> specification, Page page);
}
